3e6b9b9bc8c14a3c48c12c56e510ae92b92edf08,sonar-xml-plugin/src/main/java/org/sonar/plugins/xml/XmlSensor.java,XmlSensor,runChecks,#SensorContext#XmlFile#,77
Before Change
}
saveIssue(context, sourceCode);
saveSyntaxHighlighting(context, new XMLHighlighting(xmlFile, fileSystem.encoding()).getHighlightingData(), xmlFile.getInputFile());
}
} catch (Exception e) {
throw new IllegalStateException("Could not analyze the file " + xmlFile.getAbsolutePath(), e);
After Change
}
saveIssue(context, sourceCode);
saveSyntaxHighlighting(context, new XMLHighlighting(xmlFile, fileSystem.encoding()).getHighlightingData(), xmlFile.getInputFile().wrapped());
}
} catch (Exception e) {
throw new IllegalStateException("Could not analyze the file " + xmlFile.getAbsolutePath(), e);